<!--#layout("/common/page.html",{"jsBase":"/js/","title":"首页"}){  -->
<layui:banner></layui:banner>
<div class="news-index">
	<div class="layui-row">
		<div class="">
			<layui:cmsArticleList var="articlePage" catalogId="121">
				<!--# for(article in articlePage.list) { -->
				<div class="" style="position: relative;">
					<!--# var files = core.file(article.attachmentId); -->
					<!--# for(file in files){  -->
					<img class="" style="width: 100%" src="/core/file/download/${file.id }/${article.attachmentId}/${file.name }" />
					<!--# }  -->
				</div>
				<!--#} -->
			</layui:cmsArticleList>
		</div>
	</div>
	<div class="layui-container">
		<div class="layui-row">
			<div class="layui-col-md8">
				<div class="layui-row padding-right">
					<!--#
					var indexCatalogList = catalogDictService.getCatalogByDictTypeAndValue("catalog_position", "index_catalog");
					for(catalog in indexCatalogList) {
					  -->
					 <div class="layui-row newsSide">
					 	<div class="">
					 		<h2>${catalog.name }</h2>
					 	</div>
					 	<div class="newsList">
					 		<ul class="">
								<layui:cmsArticleList var="articlePage" catalogId="121">
									<!--#
								for(article in articlePage.list) {
								  -->
									<li><a class="img" href="javascript:;">
											<!--#
											var files = core.file(article.attachmentId);
										  -->
			
											<!--# for(file in files){  -->
											<img class="" style="width:100%" src="/core/file/download/${file.id }/${article.attachmentId}/${file.name }" />
											<!--# }  -->
										</a>
										<div class="txt">
											<a href="${ctxPath }/article.do?id=${article.id }">${article.title }</a>
											<div class="label">
												<b>${article.showTime,"yyyy-MM-dd"}</b> <i class="layui-icon layui-icon-news-review1"></i>200
											</div>
											<p class="cont">${article.description }</p>
										</div></li>
									<!--#} -->
								</layui:cmsArticleList>
							</ul>
					 	</div>
					 </div>
					<!--#} -->
				</div>
			</div>
			<div class="layui-col-md4">
				<div class="layui-fulid index-login">
					<layui:index_login />
				</div>
			</div>
		</div>
	</div>
</div>
<script>
layui.extend({
	index: '{/}/js/index',
});
layui.use(['index'], function(){
    var index = layui.index;
    index.init();
});
</script>
<!--#}  -->
